﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Core.Entity.Basic
{
    /// <summary>
    /// 项目图纸-技术参数表
    /// </summary>
    [Comment("项目图纸-技术参数表")]
    public class ProjectDrawing : DEntityTenant
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Comment("编号")]
        public string Code { get; set; }

        /// <summary>
        /// 项目图纸名称
        /// </summary>
        [Comment("项目图纸名称")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 产品分类
        /// </summary>
        [Comment("产品分类ID")]
        public long ProductCategoryId { get; set; }

        public ProductCategory Category { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [Comment("产品名称")]
        public string ProducName { get; set; }

        /// <summary>
        /// 产品数量
        /// </summary>
        [Comment("产品数量")]
        public int ProductCount { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [Comment("单位")]
        public string Unit { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        [Comment("规格型号")]
        public string Specification { get; set; }

        /// <summary>
        /// 产品代号
        /// </summary>
        [Comment("产品代号")]
        public string ProductSymbol { get; set; }

        /// <summary>
        /// 相数
        /// </summary>
        [Comment("相数")]
        public int PhaseNumber { get; set; }

        /// <summary>
        /// 频率(Hz)
        /// </summary>
        [Comment("频率Hz")]

        public int Frequency { get; set; }

        /// <summary>
        /// 额定容量（kVA）
        /// </summary>
        [Comment("额定容量kVA")]

        public int RatedCapacity { get; set; }

        /// <summary>
        /// 高压额定电流(A)
        /// </summary>
        [Comment("高压额定电流(A)")]
        public float? HighVoltageRatedCurrent { get; set; }

        /// <summary>
        /// 低压额定电流(A)
        /// </summary>
        [Comment("低压额定电流(A)")]
        public float? LowVoltageRatedCurrent { get; set; }

        /// <summary>
        /// 高压额定电压(kV)
        /// </summary>
        [Comment("高压额定电压(kV)")]
        public float? HighVoltageRatedVoltage { get; set; }

        /// <summary>
        /// 低压额定电压(kV)
        /// </summary>
        [Comment("低压额定电压(kV)")]
        public float? LowVoltageRatedVoltage { get; set; }

        /// <summary>
        /// 冷却方式
        /// </summary>
        [Comment("冷却方式")]
        public string CoolingMode { get; set; }

        /// <summary>
        /// 绝缘等级
        /// </summary>
        [Comment("绝缘等级")]
        public string InsulationClass { get; set; }

    }
}
